package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.bean.Category;
import org.example.util.JsonResult;
import org.springframework.stereotype.Service;

/**
 * @Auther:Liu
 * @Testname:CateGoryService
 * @Date:2025/8/7 8:34
 */
@Service
public interface CateGoryService extends IService<Category> {

    //    查找所有数据
    JsonResult findAllCateGory();

    //    按照分类ID删除1
    JsonResult removeByCateId1(String categoryId);

    //    按照分类ID删除2
    JsonResult removeByCateId2(String categoryId);
}
